package com.fyz.aaronfjava.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author：fanyaozhou
 * @Date：2023/11/30 17:04
 * @description 符号枚举类
 */
public enum MarkFlagEnum {

    /**
     * 符号
     */
    COMMA(",", "逗号"),
    HYPHEN("-", "短横线"),
    EMPTY("", "空字符"),
    LEFT_BRACKETS("[", "左中括号"),
    RIGHT_BRACKETS("]", "右中括号"),
    LEFT_BRACE("{", "左花括号"),
    RIGHT_BRACE("}", "右花括号"),
    ASTERISK("*","星号"),
    FORWARD_SLASH("/","斜杠"),
    COLON(":","冒号"),
    SEMICOLON(";","分号"),
    SEPARATOR("|","分隔符");

    /**
     * 符号
     */
    private final String code;
    /**
     * 描述
     */
    private final String desc;

    MarkFlagEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}


